detective : `` i sincerely apologize '' for berating uber driver .
nypd investigating encounter that was caught on tape by passenger .
detective placed on modified assignment .